<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="<!--TPL:$user->lang-->">
    <HEAD>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <link rel="stylesheet" type="text/css" href="/main.css">
        <link rel="icon" href="/favicon.ico" type="image/x-icon">
        <title><!--TPL:$page_title--></title>
    </HEAD>

    <BODY>
        <TABLE width="750px" border="0" cellpadding="0" cellspacing="0" align="center">
            <TR>
                <TD colspan="2" width="100%">
                    <TABLE width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url('/img/logo.png')">
                        <TR style="height: 70px; width: 750px;">
                            <TD>
                                <div id="header" style="float: left;">
                                    <a href="/home" style="display: block; width: 225px; height: 49px;"></a>
                                </div>
                            </TD>
                            <TD>
                                <div style="float: right;">
                                    <FORM method="GET" action="/search">
                                        <input name="string" class="search" type="text" size="20" maxlength="256" value="<!--TPL:"Search"|gettext-->" onclick="this.value='';" onblur="this.value='<!--TPL:"Search"|gettext-->';">
                                        &nbsp;
                                    </FORM>
                                </div>
                            </TD>
                        </TR>
                    </TABLE>
                </TD>
            </TR>
            <TR style="height: 25px">
                <TD>
                    <div style="float: left;">
                    <a class="menu" href="/home"><!--TPL:"Home"|gettext--></a>
                    <!--TPL:if $user->id != 0 -->
                    | <a class="menu" href="/watch"><!--TPL:"Watch-list"|gettext--></a>
                    | <a class="menu" href="/settings"><!--TPL:"Settings"|gettext--></a>
                    <!--TPL:/if-->
                    | <a class="menu" href="/releases/new"><!--TPL:"Add release"|gettext--></a>
                    </div>
                </TD>
                <TD>
                    <div style="float: right;">
                    <!--TPL:"You are"|gettext--> <strong><!--TPL:$user->name--></strong>

                    <!--TPL:if $user->access == 2 -->
                        <!--TPL:"operator"|gettext-->
                    <!--TPL:elseif $user->access == 3 -->
                        <!--TPL:"admin"|gettext-->
                    <!--TPL:/if-->
                    <!--TPL:if $user->id == 0 -->
                    | <a class="menu" href="/login"><!--TPL:"Login"|gettext--></a>
                    | <a class="menu" href="/register"><!--TPL:"Register"|gettext--></a>
                    <!--TPL:else-->
                    | <a class="menu" href="/logout"><!--TPL:"Logout"|gettext--></a>
                    <!--TPL:/if -->
                    </div>
                </TD>
            </TR>
        </TABLE>

        <TABLE border="0" width="750px" cellspacing="0" cellpadding="5" align="center">
            <TR>
                <TD nowrap>
                    <div align="center" >
                        <!--TPL:if isset($error)-->
                        <TABLE cellspacing="10" align="center">
                            <TR>
                                <TD class="center">
                                    <div>
                                        <img src="<!--TPL:$error_img-->" alt="<!--TPL:$error_alt-->">
                                    </div>
                                    <BR>
                                    <span style="font-size: 8pt"><!--TPL:$error_msg--></span>
                                </TD>
                            </TR>
                            <TR>
                                <TD class="center">
                                    <a class="button" href="javascript: back();"><!--TPL:"Back"|gettext--></a>
                                </TD>
                            </TR>
                        </TABLE>
                        <!--TPL:/if-->
                        <!--TPL:if !empty($body)-->
                        <div style="position: relative;">
                        <!--TPL:include file="$body"-->
                        </div>
                        <!--TPL:/if-->
                        <div>
                        <HR class="gray" align="center" width="100%" size="1" noshade>
                        <P class="gray"><!--TPL:"Page generated in"|gettext--> <!--TPL:$time--> <!--TPL:"seconds"|gettext--> (<!--TPL:$queries--> <!--TPL:"queries"|gettext-->).</P>
                        <P class="gray">© 2009&mdash;2010 Musdb.net | <!--TPL:"Report a bug"|gettext--> | <!--TPL:"Contact us"|gettext--> | <!--TPL:"Blog"|gettext--></P>
                        </div>

                    </div>
                </TD>
            </TR>
        </TABLE>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try{
var pageTracker = _gat._getTracker("UA-12919420-1");
pageTracker._trackPageview();
} catch(err) {}
</script>
    </BODY>
</html>